//
//  PickNumSportItemBFCell.m
//  PlayBall
//
//  Created by Jdd‘s macbook on 13-10-30.
//
//

#import "JddPickNumBDSXDSCell.h"
#import "JddDefine.h"
@interface JddPickNumBDSXDSCell ()

@end

@implementation JddPickNumBDSXDSCell
GET_INSTANCE_VIEW_IMPLEMENT(JddPickNumBDSXDSCell)
-(IBAction)buttonClicked:(id)sender{
    UIButton *btn = (UIButton *)sender;
    NSString *tag = [NSString stringWithFormat:@"%d", btn.tag];
    self.aSportNumber.teamArray= [[NSMutableArray alloc] initWithObjects:tag, nil];
    [self.delegate performSelector:@selector(sportTeamButtonClicked:number:) withObject:(id)sender withObject:self.aSportNumber];
}
- (void)awakeFromNib
{
    self.btn1.layer.borderColor = BORDER_COLOR;
    self.btn1.layer.borderWidth = 0.5;
    
    self.btn2.layer.borderColor = BORDER_COLOR;
    self.btn2.layer.borderWidth = 0.5;
    
    self.btn3.layer.borderColor = BORDER_COLOR;
    self.btn3.layer.borderWidth = 0.5;
    
    self.btn4.layer.borderColor = BORDER_COLOR;
    self.btn4.layer.borderWidth = 0.5;
}

@end
